<%@page import="com.ids.bean.UserInfo"%>
<%@page import="java.util.Calendar"%>
<%@page import="java.util.GregorianCalendar"%>
<table align="center" class="borderAll" cellspacing="0">
	<tr background="images/headerBg.JPG">
		<td >
		<%
			UserInfo userInfo = (UserInfo) session.getAttribute("userInfo");
			String userName = "";
			boolean isLeadOrManager = false;
			if (null == userInfo) {
				response.sendRedirect("LoginScreen.action");
			} else {
				userName = userInfo.getUserFullName();
				isLeadOrManager = userInfo.isLeadOrManager();
			}
		%> <strong>Hi, <%=userName%></strong></td>
		<td colspan="1" align="right" b><a
			href="<s:url action="WelcomeScreen"/>">Home</a> &nbsp;&nbsp;<%
 			if (isLeadOrManager) {
 		%><s:if test="isLeadOrManager=true">
			|&nbsp;&nbsp; <a href="<s:url action="TeamAttendanceScreen"/>">AttendanceApproval</a>&nbsp;
		</s:if>
		<%
		} else {
		%> &nbsp;<% 
 		}
 		%>|&nbsp;&nbsp; <a
			href="<s:url action="ChangePasswordScreen"/>">Change Password</a>
		&nbsp;&nbsp;|&nbsp;&nbsp; <a href="<s:url action="LogOut"/>">Log Out</a></td>
	</tr>
</table>
	
